package com.hbx.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hbx
 * @since 2022-01-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PlatformBlog对象", description="")
@TableName(value = "blog")
public class Blog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "博客主键")
    @TableId(value = "blog_id", type = IdType.AUTO)
    private Integer blogId;

    @ApiModelProperty(value = "博客、论坛标题")
    private String blogTitle;

    @ApiModelProperty(value = "博客内容")
    private String blogContent;

    @ApiModelProperty(value = "博客发布者")
    private Integer blogUserid;

    @ApiModelProperty(value = "博客图片")
    private String blogImg;

    @ApiModelProperty(value = "发布时间")
    private Date blogPushTime;

    @ApiModelProperty(value = "1 站长推荐 0 正常")
    private Integer blogIsCommend;

    @ApiModelProperty(value = "0 未删除 1 删除")
    private Integer blogIsDeleted;

    @ApiModelProperty(value = "自定义标签")
    private String blogLable;

    @ApiModelProperty(value = "点赞数")
    private Integer blogNiu;

}
